package com.coderman.infosys.auth.app.convert;

import java.util.List;

import com.coderman.infosys.auth.api.dto.authority.SystemAuthorityDTO;
import com.coderman.infosys.auth.api.dto.authority.request.CreateSystemAuthorityRequestDTO;
import com.coderman.infosys.auth.api.dto.authority.request.UpdateSystemAuthorityRequestDTO;
import com.coderman.infosys.auth.domain.bo.authority.SystemAuthorityBO;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

/**
* @Description:SystemAuthorityConvert接口
* @Author:
* @CreateTime:2022-01-02 15:27:39
* @version v1.0
*/
@Mapper
public interface SystemAuthorityConvert{
	SystemAuthorityConvert INSTANCE = Mappers.getMapper(SystemAuthorityConvert.class);

	/**
	 *
	 * @Description:
	 * @return SystemAuthorityDTO
	 */
	 SystemAuthorityDTO bo2dto(SystemAuthorityBO systemAuthorityBO);
	/**
	 *
	 * @Description:
	 * @return SystemAuthorityBO
	 */
	 SystemAuthorityBO dto2bo(SystemAuthorityDTO systemAuthorityDTO);
	/**
	 *
	 * @Description:
	 * @return SystemAuthorityBO
	 */
	 SystemAuthorityBO dto2bo(CreateSystemAuthorityRequestDTO createSystemAuthorityRequestDTO);
	/**
	 *
	 * @Description:
	 * @return List<SystemAuthorityBO>
	 */
	 List<SystemAuthorityBO> createSystemAuthorityRequestDTOs2boList(List<CreateSystemAuthorityRequestDTO> createSystemAuthorityRequestDTOList);
	/**
	 *
	 * @Description:
	 * @return List<SystemAuthorityBO>
	 */
	 List<SystemAuthorityBO> systemAuthorityDTOs2boList(List<SystemAuthorityDTO> systemAuthorityDTOList);
	/**
	 *
	 * @Description:
	 * @return List<SystemAuthorityDTO>
	 */
	 List<SystemAuthorityDTO> systemAuthorityBOs2dtoList(List<SystemAuthorityBO> systemAuthorityBOList);
	/**
	 *
	 * @Description:
	 * @return List<SystemAuthorityBO>
	 */
	 List<SystemAuthorityBO> updateSystemAuthorityRequestDTOs2boList(List<UpdateSystemAuthorityRequestDTO> updateSystemAuthorityRequestDTOList);
	/**
	 *
	 * @Description:
	 * @return SystemAuthorityBO
	 */
	 SystemAuthorityBO dto2bo(UpdateSystemAuthorityRequestDTO updateSystemAuthorityRequestDTO);
}